//
// Created by lenovo on 2024/5/30.
//
#include <iostream>
using namespace std;
#include "AddressBook.h"


void AddressBook::setSize(int size) {
    m_size = size;
}

void AddressBook::setContacts(Contacts contacts[MAX]) {
    for (int i = 0; i < MAX; i++) {
        contacts_[i] = contacts[i];
    }
}

int AddressBook::getSize() {
    return m_size;
}

Contacts *AddressBook::getContacts() {
    return contacts_;
}
